package com.stud.seckill.entity.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

@Data
public class LoginVo {

    @NotEmpty
    @Length(min = 11, max = 11)
    private String mobile;

    @NotEmpty
    private String password;

}
